home *** CD-ROM | disk | FTP | other *** search
- OPT PREPROCESS
-
- MODULE 'feelin','libraries/feelin'
-
- PROC main()
- DEF c,w
-
- IF feelinbase := OpenLibrary('feelin.library',FV_VERSION)
- c := ClientObject,
- FA_Pen_Shine, 'c:64DC82',
- FA_Pen_Fill, 'c:55AF64',
- FA_Pen_Dark, 'c:0A460A',
- FA_Pen_Text, 'c:FF0000',
- FA_Pen_Highlight, 'c:FFFFFF',
-
- Child, w := WindowObject,
- FA_Back, FI_Fill,
- FA_Window_Title, 'Feelin : Fonts',
-
- Child, VGroup,
- Child, bandeau('Icons'),
-
- Child, HGroup, FA_Group_HSpacing, 1,
- Child, String_('Helvetica / 10',32),
- Child, ImageObject, DontChain, FA_Fixed,TRUE, FA_Image, '3:Loupe', End,
- End,
-
- Child, bandeau('Default'),
-
- Child, HGroup, FA_Group_HSpacing, 1,
- Child, String_('Nokia / 13',32),
- Child, ImageObject, DontChain, FA_Fixed,TRUE, FA_Image, '3:Loupe', End,
- End,
-
- Child, bandeau('Screen'),
-
- Child, HGroup, FA_Group_HSpacing, 1,
- Child, String_('Mario / 24',32),
- Child, ImageObject, DontChain, FA_Fixed,TRUE, FA_Image, '3:Loupe', End,
- End,
-
- Child, Bar,
-
- Child, HGroup, FA_Group_SameSize,TRUE,
- Child, SimpleButton('`bSave'),
- Child, SimpleButton('`<6>Use'),
- Child, SimpleButton('`<8>Cancel'),
- End,
- End,
- End,
- End
-
- IF c
- F_DoA(w,FM_Notify,[FA_Window_CloseRequest,TRUE,FV_Notify_Client,2,FM_Client_ReturnID,FV_Client_Quit])
- F_Set(w,FA_Window_Open,TRUE)
-
- F_DoA(c,FM_Client_Run,NIL)
-
- F_DisposeObj(c)
- ENDIF
-
- CloseLibrary(feelinbase)
- ELSE
- WriteF('Unable to open feelin.library\n')
- ENDIF
- ENDPROC
-
- PROC bandeau(title)
- RETURN TextObject,
- FA_Inner, [6,2,6,2]:CHAR,
- FA_Frame, 003,
- FA_Back, FI_HalfShadow,
- FA_FixedHeight, TRUE,
- FA_ChainToCycle, FALSE,
- FA_Text, title,
- FA_Text_PreParse, '`Se',
- End
- ENDPROC
-